<?php
/**
 * Created by IntelliJ IDEA.
 * User: wanglu
 * Date: 2017/9/7
 * Time: 10:26
 */
/**
 * Created by wanglu on 2017/9/7.
 */


    $lang["error_code_".ErrorCode::SUCCESS]                      = '成功';
    $lang["error_code_".ErrorCode::FAIL]                         = '失败';
    $lang["error_code_".ErrorCode::PARAMS_WRONG]                 = '参数错误';
    $lang["error_code_".ErrorCode::NO_AUTH]                      = '权限验证失败';
    $lang["error_code_".ErrorCode::UPLOAD_FAILED]                = '上传失败';
    $lang["error_code_".ErrorCode::SERVER_ERROR]                 = '服务器错误';
    $lang["error_code_".ErrorCode::EMAIL_NOT_VALID]            = '邮箱格式错误';
    $lang["error_code_".ErrorCode::USER_EMAIL_EXISTS]            = '邮箱已经存在';
    $lang["error_code_".ErrorCode::USER_EMAIL_NOT_EXISTS]        = '邮箱不存在';
    $lang["error_code_".ErrorCode::USER_LOGIN_FAILED]            = '邮箱不存在或密码错误';
    $lang["error_code_".ErrorCode::USER_UPDATE_FAILED]           = '用户信息更新失败';
    $lang["error_code_".ErrorCode::USER_OLD_PASSWORD_WRONG]      = '旧密码验证失败';
    $lang["error_code_".ErrorCode::USER_CHANGE_PASSWORD_FAILED]  = '密码修改失败';
    $lang["error_code_".ErrorCode::USER_NOT_FOUND]               = '用户不存在';
    $lang["error_code_".ErrorCode::USER_REQUEST_TOO_FREQUENTLY]  = '请求过于频繁，请稍后再试';
    $lang["error_code_".ErrorCode::USER_NAME_EXISTS]             = '用户名已经存在';
    $lang["error_code_".ErrorCode::USER_NAME_NOT_VALID]          = '用户名格式错误';
    $lang["error_code_".ErrorCode::USER_NOT_ACTIVATE]            = '用户未激活';
    $lang["error_code_".ErrorCode::USER_NEED_LOGOUT]             = '登陆信息过期，请重新登陆';
    $lang["error_code_".ErrorCode::USER_FORCE_LOGIN_FAILED] 	   = '强制登录失败';
    $lang["error_code_".ErrorCode::USER_LOGINOUT_FAILED]		   = '注销登录失败';
    $lang["error_code_".ErrorCode::DEVICE_NOT_FOUND]             = '设备不存在';
    $lang["error_code_".ErrorCode::DEVICE_ADD_FAILED]            = '设备添加失败';
    $lang["error_code_".ErrorCode::DEVICE_UPDATE_FAILED]         = '设备信息更新失败';
    $lang["error_code_".ErrorCode::DEVICE_DELETE_FAILED]         = '设备删除失败';
    $lang["error_code_".ErrorCode::DEVICE_NOT_BELONG_YOU] 	   = '该设备不属于您，请确认您连接了正确的小觅';
    $lang["error_code_".ErrorCode::DEVICE_HAS_BOUND] 			   = '设备已经被绑定';
    $lang["error_code_".ErrorCode::SETTINGS_NOT_FOUND]           = '未找到该设置，修改后未成功同步';
    $lang["error_code_".ErrorCode::SETTINGS_ADD_FAILED]          = '设置保存失败';
    $lang["error_code_".ErrorCode::SETTINGS_UPDATE_FAILED]       = '设置更新失败';
    $lang["error_code_".ErrorCode::FRIENDSHIP_ALREADY_EXIST]     = '已经是好友关系';
    $lang["error_code_".ErrorCode::FRIENDSHIP_REQUEST_ALREADY]   = '已经发送过好友申请';
    $lang["error_code_".ErrorCode::FRIENDSHIP_REQUEST_NOT_FOUND] = '好友申请不存在';
    $lang["error_code_".ErrorCode::FRIENDSHIP_NOT_FOUND]         = '好友关系不存在';
    $lang["error_code_".ErrorCode::FRIENDSHIP_OVER_LIMIT]        = '好友数量超过最大值';
    $lang["error_code_".ErrorCode::LOCATION_NOT_FOUND]           = '安全区域不存在';
    $lang["error_code_".ErrorCode::LOCATION_ADD_FAILED]          = '安全区域添加失败';
    $lang["error_code_".ErrorCode::LOCATION_UPDATE_FAILED]       = '安全区域更新失败';
    $lang["error_code_".ErrorCode::LOCATION_DELETE_FAILED]       = '安全区域删除失败';
    $lang["error_code_".ErrorCode::QUESTION_NOT_FOUND]           = '问题不存在';
    $lang["error_code_".ErrorCode::QUESTION_ADD_FAILED]          = '问题添加失败';
    $lang["error_code_".ErrorCode::QUESTION_UPDATE_FAILED]       = '问题更新失败';
    $lang["error_code_".ErrorCode::QUESTION_DELETE_FAILED]       = '问题删除失败';
    $lang["error_code_".ErrorCode::MAC_ADDR_INVALID] 			   = 'mac地址无效';
    $lang["error_code_".ErrorCode::ACCOUNT_QUOTA_NOT_ENOUGH]     = '授权配额已用完，请联系我们';
    $lang["error_code_".ErrorCode::WECHAT_DEVICE_ID_INVALID]     = '微信设备id无效，请重试';
    $lang["error_code_".ErrorCode::ACCESS_TOKEN_INVALID]         = 'access_token无效，请重试';
    $lang["error_code_".ErrorCode::PREPAY_ID_NOT_VALID]          = 'prepay_id无效，请重试';
    $lang["error_code_".ErrorCode::SHARE_FAILED] 		  			= '分享设备失败，请重试';
    $lang["error_code_".ErrorCode::SHARE_UPDATE_FAILED]			= '更改特权失败，请重试';
    $lang["error_code_".ErrorCode::SHARE_NOT_FOUND] 				= '分享不存在，请重试';
    $lang["error_code_".ErrorCode::SHARE_DELETE_FAILED]			= '删除分享失败，请重试';
    $lang["error_code_".ErrorCode::NOT_SHARE_SELF] 	  			= '不能把设备分享给自己';
    $lang["error_code_".ErrorCode::NOT_PRIVILEGE] 				= '没有权限更改设备设置';
    $lang["error_code_".ErrorCode::SHARE_OUT_OF_LIMIT] 			= '超过分享额度限制';
    $lang["error_code_".ErrorCode::SIMCARD_NOT_FOUND] 			= 'sim卡不存在';
    $lang["error_code_".ErrorCode::SIMCARD_PRIVATE] 				= '用户私有卡';
    $lang["error_code_".ErrorCode::SIMCARD_IS_BINDED] 			= 'sim卡已经被绑定了';
    $lang["error_code_".ErrorCode::SIMCARD_INVALID] 				= '无效sim卡';


